package com.kainitram.library.declension;

import com.kainitram.library.R;
import android.content.Context;

public class DeclensionOfSelection implements DeclensionWord {

	public String getWordInCorrectFormat(int iCount, Context context) {
		String ret = null;

		switch (iCount) {

		case 1:
			ret = context.getString(R.string.selected1Count);
			break;
		case 2:
		case 3:
		case 4:
			ret = context.getString(R.string.selected2Count);
			break;

		default:
			ret = context.getString(R.string.selectedCount);
			break;
		}

		return ret;
	}

}
